using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;using Maxleaf.EDI.Domain.K3;

namespace Maxleaf.EDI.DataAccess.K3
{
    public class t_initCashFlowBalMap : EntityTypeConfiguration<t_initCashFlowBal>
    {
        public t_initCashFlowBalMap()
        {
            // Primary Key
            this.HasKey(t => t.FID);

            // Properties
            this.Property(t => t.FID)
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);

            // Table & Column Mappings
            this.ToTable("t_initCashFlowBal");
            this.Property(t => t.FID).HasColumnName("FID");
            this.Property(t => t.FItemID).HasColumnName("FItemID");
            this.Property(t => t.FDetail).HasColumnName("FDetail");
            this.Property(t => t.FCurrencyID).HasColumnName("FCurrencyID");
            this.Property(t => t.FAmountFor).HasColumnName("FAmountFor");
            this.Property(t => t.FAmount).HasColumnName("FAmount");
            this.Property(t => t.FItemType).HasColumnName("FItemType");
        }
    }
}
